package com.primaryedu.bean;

import java.util.List;

/**
 * Created by Thomas on 2018/2/2.
 */

public class VoteoptionBean {

    /**
     * result : 1
     * reason : 成功
     * data : {"totalVoteNum":1,"list":[{"id":"dfgfhgfhjghjfghfghdf","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"王小开","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":0,"voteName":"2017年度优秀学生评选"},{"id":"dfgfdhgfhjghjghjasdf","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"魏维","pic":"/upload/news/xw1.jpeg","voteNum":1,"sort":1,"voteName":"2017年度优秀学生评选"},{"id":"fsldjgdlgjdlfgdfdfg","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"黄爱馨","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":2,"voteName":"2017年度优秀学生评选"},{"id":"fgjghjghkhjklfhjghj","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"汪有权","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":3,"voteName":"2017年度优秀学生评选"},{"id":"fghasddhgfhdfhfhfgj","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"陈琨","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":4,"voteName":"2017年度优秀学生评选"},{"id":"dfhghjksdhgkgjkdasf","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"徐来帝","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":5,"voteName":"2017年度优秀学生评选"}]}
     */

    private int result;
    private String reason;
    private DataBean data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalVoteNum : 1
         * list : [{"id":"dfgfhgfhjghjfghfghdf","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"王小开","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":0,"voteName":"2017年度优秀学生评选"},{"id":"dfgfdhgfhjghjghjasdf","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"魏维","pic":"/upload/news/xw1.jpeg","voteNum":1,"sort":1,"voteName":"2017年度优秀学生评选"},{"id":"fsldjgdlgjdlfgdfdfg","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"黄爱馨","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":2,"voteName":"2017年度优秀学生评选"},{"id":"fgjghjghkhjklfhjghj","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"汪有权","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":3,"voteName":"2017年度优秀学生评选"},{"id":"fghasddhgfhdfhfhfgj","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"陈琨","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":4,"voteName":"2017年度优秀学生评选"},{"id":"dfhghjksdhgkgjkdasf","voteId":"sdfhosgasdasdasdassdfgfgh","optionName":"徐来帝","pic":"/upload/news/xw1.jpeg","voteNum":0,"sort":5,"voteName":"2017年度优秀学生评选"}]
         */

        private int totalVoteNum;
        private List<ListBean> list;

        public int getTotalVoteNum() {
            return totalVoteNum;
        }

        public void setTotalVoteNum(int totalVoteNum) {
            this.totalVoteNum = totalVoteNum;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : dfgfhgfhjghjfghfghdf
             * voteId : sdfhosgasdasdasdassdfgfgh
             * optionName : 王小开
             * pic : /upload/news/xw1.jpeg
             * voteNum : 0
             * sort : 0
             * voteName : 2017年度优秀学生评选
             */

            private String id;
            private String voteId;
            private String optionName;
            private String pic;
            private int voteNum;
            private int sort;
            private String voteName;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getVoteId() {
                return voteId;
            }

            public void setVoteId(String voteId) {
                this.voteId = voteId;
            }

            public String getOptionName() {
                return optionName;
            }

            public void setOptionName(String optionName) {
                this.optionName = optionName;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public int getVoteNum() {
                return voteNum;
            }

            public void setVoteNum(int voteNum) {
                this.voteNum = voteNum;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public String getVoteName() {
                return voteName;
            }

            public void setVoteName(String voteName) {
                this.voteName = voteName;
            }
        }
    }
}
